package com.clarence.dada.core.redis.operator.type;


import com.clarence.dada.core.redis.constants.RedisConstants;
import com.clarence.dada.core.redis.operator.AbstractRedisCacheOperator;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * 图形验证码缓存
 *
 * @author chenjinlong
 * @since 2021/1/15 13:44
 */
public class CaptchaRedisCache extends AbstractRedisCacheOperator<String> {

    public CaptchaRedisCache(RedisTemplate<String, String> redisTemplate) {
        super(redisTemplate);
    }

    @Override
    public String getCommonKeyPrefix() {
        return RedisConstants.CAPTCHA_CACHE_KEY_PREFIX;
    }

}
